﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>网站基本设置 - 系统管理员设置</title>
<script src="/js/jquery.js" type="text/javascript"></script>
<script src="/js/jspublic.js" type="text/javascript"></script>
<script src="js/easyui/jquery.easyui.js" type="text/javascript"></script>
<script src="js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<link href="style/right.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

	$(function(){

		if (window.frameElement == null) self.location = '/manage';
	
		$('#MyDataGrid').datagrid({
			scrollbarSize: 0,
			fitColumns: true,
			resizable: false,
			checkOnSelect: false
		});
	
		$(window).resize(function(){
			$("#MyDataGrid").datagrid("resize");
		});
		
	});
	
	function reloadGrid() {
		$('#MyDataGrid').datagrid('reload');
	}
	
</script>
</head>

<body>
<div class="zs_content">

	<div class="zs_quota">
		<h4>网站基本设置 - 系统管理员设置</h4>
	</div>
	
	<div class="zs_quota">
		<table id="MyDataGrid">
			<thead>
				<tr>
					<th field="edit" align="center" style="width: 35px;"></th>
					<th field="className" data-options="fitColumns:true" width="100%">管理员帐号</th>
					<th field="del" align="center" style="width: 35px;">删除</th>
				</tr>
			</thead>
			<tbody>
				{fenye:B_admin^10^a_id asc^}			
				<tr>
					<td align="center"><a title="编辑" class="easyui-linkbutton" data-options="iconCls:'icon-edit'" href="admin_urls.aspx?template=template/t_admin_administrator_update.html&id={a_id}"></a></td>
					<td><span class="listtitle">{a_username}</span></td>
					<td align="center"><a title="删除" class="easyui-linkbutton" data-options="iconCls:'icon-recycle'" href="admin_del.aspx?T=b_admin&id={a_id}" onclick="javascript:return confirm('确认要删除吗？');"></a></td>
				</tr>
				{/fenye}
			</tbody>
		</table>        
		<div class="tools">
        	<div class="pagination pagination-right">
				<ul>{$page}</ul>
            </div>
			<div class="act">
				<input type="button" name="AddButton" id="AddButton" value="添加" class="btn btn-primary" onclick="location='admin_url.aspx?template=template/t_admin_administrator_add.html'" />
			</div>
		</div>
	</div>
	
</div>
	
</body>
</html>